﻿<%@ page contentType="text/html;charset=UTF-8" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/qautil.tld" prefix="qautil"%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
    <META HTTP-EQUIV="Expires" CONTENT="0">
    <link rel="stylesheet" rev="stylesheet" href="qa/css/main.css" type="text/css" media="screen" />
    <title>中国大型机行业联盟 - <tiles:getAsString name="ptitle"/></title>
  </head>
  <body>
    <jsp:include page="ad/ad.jsp"/>
    <!--MR Navigation导航-->
    <div align="center">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr >
            <td>
                   <tiles:insert attribute="mrnavigation"/></td>
       </tr>     
    </table>
    </div>
    <!--QA Navigation-->
    <div align="center">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                    <tiles:insert attribute="qanavigation"/>
            </td>
       </tr>     
    </table>
    <script type="text/javascript">
        var qachannel = "<tiles:getAsString name="qachannel"/>";
        function initQaChannel()
        {
            var qaChannelSpan;
            if("" != qachannel)
            {
                qaChannelSpan = document.getElementById(qachannel);
                if(qaChannelSpan != null)
                {
                    //var no = qaChannelSpan.no;
                    var no = qaChannelSpan.attributes['no'].nodeValue;
                    qaChannelSpan.className = "qachannelselected"+no;
                    if(no > 1)
                    {
                        var preNo = no-1;
                        //if(no == 4)preNo = 2;
                        var preQaChannelSpan = document.getElementById("qachannel"+preNo);
                        preQaChannelSpan.className = "nobgqachannel"+no;
                    }
                    else
                    {
                    }
                }
            }
        }
        function initQaChannel1()
        {
            var qaChannelSpan;
            if("" != qachannel)
            {
                qaChannelSpan = document.getElementById(qachannel);
                if(qaChannelSpan != null)
                {
                    qaChannelSpan.className = "qachannelselected";
                }
            }
        }
        initQaChannel();
        
    
        
        
    </script>
    </div>
   <!--MR content-->
   <div align="center">
   <table align="center" border="0" cellspacing="0" cellpadding="0" style='table-layout:fixed' width="900">
	<tr>
		<td width="172" valign="top" style="word-wrap:break-word">
			<jsp:include page="login-fragment.jsp"/>
			<div style="padding:5px 0px 7px 0px;" align="left">
    	  <html:link page="/question.mrqa?action=view&id=847"><img src="qa/images/activity/new_letter.jpg" alt="newsletter索引">
        </html:link>
    	</div>
        		<tiles:insert attribute="left"/>
        		<jsp:include page="user-homepage-leftbottom.jsp"/>
                </td>
		<td width="8"></td>
		<td valign="top" width="497">
                    <tiles:insert attribute="message"/>
                    <tiles:insert attribute="center"/>
                </td>
		<td width="8" rowspan="2"></td>
		<td rowspan="2" width="215" style='word-wrap:break-word' valign="top">
                    <tiles:insert attribute="right"/>
                </td>
	</tr>
	<tr>
		  <td colspan="3">
		  	  <table border="0" cellpadding="0" cellspacing="0" width="100%" style="border:1px solid #ccc;height:100px;background: url(qa/images/rc-bg.jpg) repeat-x left top;">
    					<tr>
        <td width="20"></td>
        <td height="5"></td>
        <td width="10"></td>
    </tr>
    <tr>
        <td></td>
        <td colspan="2" style="border-bottom-width:0px;">&nbsp;&nbsp;<html:link page="/question.mrqa?action=list" styleClass="bar">MFer精彩活动</html:link></td>
        <td></td>
    </tr>
    <tr>
        <td height="5" colspan="3"></td>
    </tr>
     

    <tr>
        <td></td>
        <td><div id=demo style="OVERFLOW: hidden; WIDTH: 660px; align: center">
  <table cellspacing="0" cellpadding="0" align="center" border="0">
    <tbody>
      <tr>
        <td id="marquePic1" valign="top">
		
<table width="2100" height="130" border="0" cellpadding="0" cellspacing="0">
  <tr>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=3369"><img src="qa/images/activity/2011beijing.jpg" alt="北京MFer沙龙活动"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=2752"><img src="qa/images/activity/2010meeting2.jpg" alt="2010上海年会"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=2752"><img src="qa/images/activity/2010meeting.jpg" alt="2010上海年会"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=get&id=2228"><img src="qa/images/activity/522salon.jpg" alt="2010年MFer城市巡游上海站"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=1816"><img src="qa/images/activity/2009meeting.jpg" alt="2009深圳年会"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=1682"><img src="qa/images/activity/2009IBM01.jpg" alt="ibm校友会活动"></html:link>
    </td>
  	<td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=1566"><img src="qa/images/activity/changeway01.jpg" alt="清辉技术沙龙活动"></html:link>
    </td>
    <td width="95" height="110" align="center">
    	<html:link page="/question.mrqa?action=view&id=1442"><img src="qa/images/activity/activity4.jpg" alt="“昨天，今天，明天”活动简报"></html:link>
    </td>
    <td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=1307"><img src="qa/images/activity/activity3.jpg" alt="5月24日武汉东湖野餐会"></html:link>
    </td>
    <td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=977"><img src="qa/images/activity/activity2.jpg" alt="MFer周年庆活动简报"></html:link>
    </td>
    <td width="95" align="center">
    	<html:link page="/question.mrqa?action=view&id=509"><img src="qa/images/activity/activity1.jpg" alt="3月23日网站聚会回顾"></html:link>
    </td>
  </tr>
</table>		
		
		</td>
        <td id="marquePic2" valign="top"></td>
      </tr>
    </tbody>
  </table>
</div></td>
        <td></td>  
        </tr>
		  	  </table>
	    </td>
	</tr>
	<script>
				var speed=30;
				marquePic2.innerHTML=marquePic1.innerHTML 
				function Marquee(){
				if(demo.scrollLeft>=marquePic1.scrollWidth){
					//alert("a");
					demo.scrollLeft=0;
				}else{
					//alert("b");
					demo.scrollLeft++;
				}}
				//alert(Marquee);
				MyMar=setInterval(Marquee,speed);
				demo.onmouseover=function() {clearInterval(MyMar)};
				demo.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
</script>
	<!--
	<tr>
		<td colspan="3">
                   <br> 
                   <div style="padding:0 0 12 0;border:1px solid #CCC;background: white url(qa/images/homepage-bg2.gif) repeat-x top left;">
                    <table width="99%" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                            <td width="40%" valign="top">
                               <span style="height:30;padding:8 0 2 6;font-size:10pt;"><img src="qa/images/light.gif" align="absbottom"/><html:link page="/question.mrqa?action=list&catId=18" styleClass="bar">公告栏</html:link></span>
                               <div style="width;33%;height:120;padding:5 0 2 16;word-wrap:break-word;">
                               <qautil:insert questionCategoryId="18" linksType="A"/>
                               </div>
                            </td>
                            <td width="30%" valign="top">
                               <span style="height:30;padding:8 0 2 6;font-size:10pt;"><img src="qa/images/note.gif" align="absbottom"/><html:link page="/question.mrqa?action=list&catId=19" styleClass="bar">帮助向导</html:link></span>
                               <div style="width;100%;height:120;padding:5 0 2 9;word-wrap:break-word;">
                               <qautil:insert questionCategoryId="19" linksType="A"/>
                               </div>
                            </td>
                            <td valign="top">
                               <span style="height:30;padding:11 0 2 6;font-size:10pt;"><img src="qa/images/vote.gif" align="absbottom"/><html:link page="/question.mrqa?action=list&catId=16" styleClass="bar">最新调研</html:link></span>
                                   <html:form action="/question">
                                   <html:hidden property="action" value="vote"/>
                                   <div style="width;100%;height:120;padding:5 0 2 16;word-wrap:break-word;">
                                       <qautil:insert questionCategoryId="16" linksType="T"/>
                                        <input type="submit" value="投票" onclick="this.form.action.value='vote'"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" value="查看" onclick="this.form.action.value='view'"/>                                       
                                   </div>
                                   </html:form>
                            </td>
                        </tr>
                        <tr>
                            <td>
                               <div>
                               <span style="float:right">
                                <html:link page="/question.mrqa?action=list&catId=18">
                                更多&nbsp;>
                                </html:link>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                               </span>
                               </div>
                            </td>
                            <td>
                               <div>
                               <span style="float:right">
                                <html:link page="/question.mrqa?action=list&catId=19">
                                更多&nbsp;>
                                </html:link>&nbsp;&nbsp;&nbsp;
                               </span>
                               </div>
                            </td>
                            <td>
                               <div>
                               <span style="float:right">
                                <html:link page="/question.mrqa?action=list&catId=16">
                                更多&nbsp;>
                                </html:link>&nbsp;&nbsp;&nbsp;
                               </span>
                               </div>
                            </td>
                        </tr>
                    </table>
                   </div>
                </td>
            </tr> -->
    </table>
    </div>
    <jsp:include page="rc/rc.jsp"/>
    <!--QA Footer-->
    <div align="center">
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                    <!--QA footer-->
                    <tiles:insert attribute="qafooter"/>
            </td>
       </tr>     
    </table>   
    <!--Mr Footer-->
    <br>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                <!--MR footer-->            
                <tiles:insert attribute="mrfooter"/>
            </td>
       </tr>     
    </table>
    </div>
  </body>
</html>
